package 对象转型;

public class B extends A {
    @Override
    public void eat() {
        System.out.println("儿子吃饭");
    }
    public   void    say(){
        System.out.println("说话");
    }
}
